package com.glela.platform.mapper;

import org.apache.ibatis.annotations.Param;

import com.glela.platform.model.UserRemark;

public interface UserRemarkMapper {

	/**
	 * 添加备注
	 * @param userId
	 * @param remarkManId
	 * @param remark
	 * @return
	 */
	public int insertRemark(@Param("userId") long userId,@Param("remarkManId") long remarkManId,@Param("remark") String remark);
	
	/**
	 * 修改备注
	 * @param remark
	 * @param userId
	 * @param remarkManId
	 * @return
	 */
	public int updateRemark(@Param("remark") String remark,@Param("userId") long userId,@Param("remarkManId") long remarkManId);
	
	/**
	 * 查询用户备注
	 * @param userId
	 * @param remarkManId
	 * @return
	 */
	public UserRemark selectUserRemark(@Param("userId") long userId,@Param("remarkManId") long remarkManId);
}
